import request from '@/utils/request'

export function fetchGuardScheduleList(params) {
  return request({ url: '/api/guard/schedule/list', method: 'get', params })
}
export function addGuardSchedule(data) {
  return request({ url: '/api/guard/schedule/add', method: 'post', data })
}
export function updateGuardSchedule(data) {
  return request({ url: '/api/guard/schedule/update', method: 'post', data })
}
export function deleteGuardSchedule(id) {
  return request({ url: '/api/guard/schedule/delete', method: 'post', data: { id } })
} 